<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>目录</title>
	<link rel="stylesheet" type="text/css" href="../css/simple.css" charset="utf-8" />
	<script src="../jcx/1/full.js" charset="utf-8"></script>
	<script src="Category.js" charset="utf-8"></script>
</head>

<body>
<h3>目录</h3>
<div align="center">
	<form id="searchForm">
		<input id="keyword" name="keyword" />&nbsp;&nbsp;<a id="btn_search">搜索</a>
	</form>
</div>
<div style="margin-top:20px">
	<a id="CategoryAddBtn" class="fl">添加</a>
	<a id="CategoryDelBtn" class="fr">删除选中</a>
</div>
<table id="CategoryTable" border="1">

<thead>
  <tr>
  <th><input type="checkbox" id="checkboxAll" /></th>
  
	<th>编号</th>
	<th>名称</th>
	<th>图片</th>
	<th>顺序</th>
	<th>是否启用</th>
	<th>创建时间</th>
	<th>更新时间</th>

	<th>&nbsp;</th>
	<th>&nbsp;</th>
  </tr>
</thead>

<tbody>
  <tr id="row_template">
	<td><input type="checkbox" name="checkbox" value="" /></td>
	<td>id</td>
	<td>name</td>
	<td>photo</td>
	<td>sortNo</td>
	<td>enabled</td>
	<td>created</td>
	<td>modified</td>

	<td><a class="edit">编辑</a></td>
	<td><a class="del">删除</a></td>
  </tr>
</tbody>
</table>

<br/>

<table border="1">
  <tr>
    <td id="page">

    </td>
  </tr>
</table>

<div id="CategoryEditPanel" style="display:none">
  <form id="CategoryEditForm" name="CategoryEditForm">
    <table border="1">
    		       <tr>
        <td class="tac">编号</td>
        <td><input type="hidden" name="id" value="$!category.id" /></td>
        <td>&nbsp;</td>
      </tr>
	  		       <tr>
        <td class="tac">名称</td>
        <td><input type="text" name="name" value="" maxlength="50" /></td>
        <td>&nbsp;</td>
      </tr>
	  		       <tr>
        <td class="tac">图片</td>
        <td id="photo_td"><input type="text" name="photo" value="" maxlength="255" /></td>
        <td>&nbsp;</td>
      </tr>
	  		       <tr>
        <td class="tac">顺序</td>
        <td><input type="text" name="sortNo" value="" maxlength="10" /></td>
        <td>&nbsp;</td>
      </tr>
	  		       <tr>
        <td class="tac">是否启用</td>
		<td><select name="enabled">
				<option value="Y">是</option>
				<option value="N">否</option>
		</select></td>
		<td>&nbsp;</td>
      </tr>
	  		 		 	      <tr>
        <td>&nbsp;</td>
        <td>
			<input id="CategorySaveBtn" type="button" value="提交" />
			</td>
        <td>&nbsp;</td>
      </tr>
    </table>
  </form>
</div>

</body>
</html>
